{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="">关注回复</li>
            <li class="layui-this"><a href="{:url('admin/subscribereply/poster')}">关注回复推广海报</a></li>
            <li class=""><a href="{:url('admin/defaultreply/index')}">默认回复</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/subscribereply/savePoster')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">海报上传</label>
                        <div class="layui-input-block">
                            <input type="file" name="poster" class="layui-upload-file" id="poster"  multiple="multiple">
                            <input type="hidden" id="pos" name="poster" value="" />
                            <div id = "poster_img" style="width:200px;padding-top: 15px;"></div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">二维码上传</label>
                        <div class="layui-input-block">
                            <input type="file" name="file[]" class="layui-upload-file" id="ext"  multiple="multiple">
                            <div class="qrcode_img" style="padding-top: 15px;"></div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">X轴</label>
                        <div class="layui-input-block">
                            <input type="text" name="x" value="" required  lay-verify="required" placeholder="请输入X轴" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">Y轴</label>
                        <div class="layui-input-block">
                            <input type="text" name="y" value="" required  lay-verify="required" placeholder="请输入Y轴" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">确认合成</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}
